package ch603;

/**
 * Created by Administrator on 2016/3/24.
 */
public abstract class Role{

    protected String name;
    protected int level;
    protected int blood;

    public int getBlood()
    {
        return blood;
    }
    public void setBlood(int blood)
    {
        this.blood = blood;
    }
    public int getLevel()
    {
        return level;
    }
    public void setLevel(int level)
    {
        this.level = level;
    }
    public String getName()
    {
        return name;
    }
    public void setName(String name)
    {
        this.name = name;
    }
    public abstract void fight();
}
